Skip to content

chore: update googleapis and regenerate#16609

Open
jskeet wants to merge 6 commits intogoogleapis:mainfrom
jskeet:librarianops-generateall-20260410T085051Z
Open

chore: update googleapis and regenerate#16609
jskeet wants to merge 6 commits intogoogleapis:mainfrom
jskeet:librarianops-generateall-20260410T085051Z

Conversation

@jskeet
Copy link
Copy Markdown
Contributor

@jskeet jskeet commented Apr 10, 2026

Update googleapis to the latest commit and regenerate all client libraries.

@jskeet jskeet requested review from a team as code owners April 10, 2026 08:51
@snippet-bot
Copy link
Copy Markdown

snippet-bot bot commented Apr 10, 2026

Here is the summary of changes.

You are about to add 18 region tags.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment

@jskeet jskeet added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Apr 10, 2026
@jskeet
Copy link
Copy Markdown
Contributor Author

jskeet commented Apr 10, 2026

This is a prep-dry-run of step 7 of the migration process. (Even in the real thing, we'll close this PR...)

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces support for DeploymentGroups in the google-cloud-config package, including the necessary API definitions, client methods, and generated samples. I have identified a few documentation issues, including a grammatical error in the DeploymentGroup docstring, an incorrect reference to a request message in the DeploymentUnit docstring, and a missing type hint in the GetDeploymentGroup client method docstring.

Comment on lines +3709 to +3710
r"""A DeploymentGroup is a collection of DeploymentUnits that in
a DAG-like structure.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Typo in DeploymentGroup docstring: "that in a DAG-like structure" is missing a verb. It should be "organized in a DAG-like structure" or "that form a DAG-like structure". This typo is also propagated to the client method docstrings.

Suggested change
r"""A DeploymentGroup is a collection of DeploymentUnits that in
a DAG-like structure.
r"""A DeploymentGroup is a collection of DeploymentUnits organized in
a DAG-like structure.

r"""A DeploymentUnit is a container for a deployment and its
dependencies. An existing deployment can be provided directly in the
unit, or the unit can act as a placeholder to define the DAG, with
the deployment specs supplied in a ``provisionDeploymentRequest``.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Typo in DeploymentUnit docstring: provisionDeploymentRequest should be ProvisionDeploymentGroupRequest to match the actual message name defined in this module.

Suggested change
the deployment specs supplied in a ``provisionDeploymentRequest``.
the deployment specs supplied in a ProvisionDeploymentGroupRequest.

print(response)

Args:
request (Union[google.cloud.config_v1.types.GetDeploymentGroupRequest, dict]):
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The docstring for the request argument is missing the Optional type hint, although the method signature correctly defines it as Optional[...] = None. This inconsistency is present in multiple methods in this file and differs from the async_client.py implementation.

Suggested change
request (Union[google.cloud.config_v1.types.GetDeploymentGroupRequest, dict]):
request (Optional[Union[google.cloud.config_v1.types.GetDeploymentGroupRequest, dict]]):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do not merge Indicates a pull request not ready for merge, due to either quality or timing.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants